class MyColors{
    colors={};
    getColor(codeType:string, code:any){
        let pname = codeType+code;
        if(pname in this.colors){
            return this.colors[pname];
        }
        return '';
    }
    sex="-男-";
    constructor(){
        this.colors["sex1"] = "#f00";
        this.colors["projectStatus1"] = "#f2a000";
        this.colors["projectStatus2"] = "#f2a0a0";
        this.colors["projectStatus3"] = "#32a0a0";
    }
}

let mycolors = new MyColors();
export {mycolors}